package com.project.bean;

import java.time.LocalDate;

/**
 * 日志实体
 */
public class LogBean {
    /**日志id*/
    private int logId;
    /**日期*/
    private LocalDate LogDate = LocalDate.now();
    /**内容*/
    private String info;

    public LogBean(String info) {
        this.info = info;
    }

    public LogBean() {
    }

    public int getLogId() {
        return logId;
    }

    public void setLogId(int logId) {
        this.logId = logId;
    }

    public LocalDate getLogDate() {
        return LogDate;
    }

    public void setLogDate(LocalDate logDate) {
        LogDate = logDate;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "LogBean{" +
                "logId=" + logId +
                ", LogDate=" + LogDate +
                ", info='" + info + '\'' +
                '}'+"\n";
    }
}
